package com.amoyt.project.mapper;

import com.amoyt.project.domain.pojo.ArticleContentBlock;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 文章内容块表 Mapper 接口
 * </p>
 *
 * @author AmoyT
 * @since 2025-08-25
 */
@Mapper
public interface ArticleContentBlockMapper extends BaseMapper<ArticleContentBlock> {

    /**
     * 批量插入
     * @param contentBlocks
     */
    void insertList(List<ArticleContentBlock> contentBlocks);

    /**
     * 批量更新
     * @param contentBlocks
     */
    void updateBatchById(List<ArticleContentBlock> contentBlocks);
}
